Skip to content

Fix: ts extractor monorepo aliases and barrel reexports - #61

Merged
dejo1307 merged 2 commits into
mainfrom
fix/ts-extractor-monorepo-aliases-and-barrel-reexports
Jul 3, 2026
Merged

Fix: ts extractor monorepo aliases and barrel reexports#61
dejo1307 merged 2 commits into
mainfrom
fix/ts-extractor-monorepo-aliases-and-barrel-reexports

Conversation

@GertL

@GertL GertL commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix path-alias resolution in monorepos: a paths-less root tsconfig.json was short-circuiting alias discovery, silently misclassifying every ~//#/-style import as external across the whole repo instead of resolving it against the actual per-package tsconfig.json
  • Track barrel re-exports (export * from, export { X } from, export type { X } from) as dependency facts. Previously these emitted zero facts, making anything only reachable through an index.ts barrel look unused
  • Detect plain JavaScript projects (Vue/React/Svelte/Next/Nuxt without TypeScript).

Test plan

  • New unit tests: nested monorepo alias resolution, sibling packages with conflicting alias targets, barrel re-export tagging, plain-JS framework detection (positive + negative case)
  • Full existing test suite passes, zero regressions
  • Verified end-to-end against 4 real repos.

@GertL
GertL requested a review from dejo1307 July 3, 2026 04:21
@GertL
GertL force-pushed the fix/ts-extractor-monorepo-aliases-and-barrel-reexports branch from fb4fa1b to 976aa3c Compare July 3, 2026 04:22
@dejo1307
dejo1307 merged commit 3435cb7 into main Jul 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants